/** When your routing table is too long, you can split it into small modules **/

import Layout from '../../layout'

const userRouter = {
  path: '/user',
  component: Layout,
  redirect: '/user/manage',
  name: 'User',
  alwaysShow: true,
  meta: {
    title: '用户管理',
    icon: 'yhgl',
    roles: ['superSysOpsAdmin']
  },
  children: [
    {
      path: 'manage',
      component: () => import('@/pages/index/views/user-manage/user-manage.vue'),
      name: 'DynamicTable',
      meta: { title: '用户账号', roles: ['superSysOpsAdmin'], noCache: true }
    }
  ]
}
export default userRouter
